package com.hngates.project.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hngates.common.annotation.Excel;
import com.hngates.common.core.domain.BaseEntity;

/**
 * 劳务分包单位对象 labor_subcontractor
 * 
 * @author ruoyi
 * @date 2022-06-24
 */
public class LaborSubcontractor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 分包单位名称 */
    @Excel(name = "分包单位名称")
    private String subcontractorId;

    /** 工人组成 */
    @Excel(name = "工人组成")
    private String personnel;

    /** 分包单位负责人 */
    @Excel(name = "分包单位负责人")
    private String subcontractLeader;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 籍贯 */
    @Excel(name = "籍贯")
    private String nativePlace;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSubcontractorId(String subcontractorId) 
    {
        this.subcontractorId = subcontractorId;
    }

    public String getSubcontractorId() 
    {
        return subcontractorId;
    }
    public void setPersonnel(String personnel) 
    {
        this.personnel = personnel;
    }

    public String getPersonnel() 
    {
        return personnel;
    }
    public void setSubcontractLeader(String subcontractLeader) 
    {
        this.subcontractLeader = subcontractLeader;
    }

    public String getSubcontractLeader() 
    {
        return subcontractLeader;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setNativePlace(String nativePlace) 
    {
        this.nativePlace = nativePlace;
    }

    public String getNativePlace() 
    {
        return nativePlace;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("subcontractorId", getSubcontractorId())
            .append("personnel", getPersonnel())
            .append("subcontractLeader", getSubcontractLeader())
            .append("phone", getPhone())
            .append("nativePlace", getNativePlace())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
